package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 患者管理对象 ha_patient
 * 
 * @author 鲍小伟
 * @date 2025-11-04
 */
public class HaPatient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long uid;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String uname;

    /** 患者性别 */
    @Excel(name = "患者性别")
    private String usex;

    /** 患者身份证号 */
    @Excel(name = "患者身份证号")
    private String ucard;

    /** 患者手机号 */
    @Excel(name = "患者手机号")
    private String umobile;

    /** 患者出生年月 */
    @Excel(name = "患者出生年月")
    private String ubirthday;

    /** 患者社保卡号 */
    @Excel(name = "患者社保卡号")
    private String ssid;

    /** 婚姻情况 */
    @Excel(name = "婚姻情况")
    private String maritalstatus;

    /** 所在省市区 */
    @Excel(name = "所在省市区")
    private String addresscity;

    /** 居住地址 */
    @Excel(name = "居住地址")
    private String address;


    /** 预约类型 */
    @Excel(name = "预约类型")
    private String appointmenttype;

    /** 预约检查项目 */
    @Excel(name = "预约检查项目")
    private String appointmentitems;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date appointmenttime;

    /** 发送短信 */
    @Excel(name = "发送短信")
    private Long sendsms;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private Long ustatus;

    /** 就诊状态 */
    @Excel(name = "就诊状态")
    private Long pstatus;

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setUname(String uname) 
    {
        this.uname = uname;
    }

    public String getUname() 
    {
        return uname;
    }

    public void setUsex(String usex)
    {
        this.usex = usex;
    }

    public String getUsex()
    {
        return usex;
    }


    public void setUcard(String ucard) 
    {
        this.ucard = ucard;
    }

    public String getUcard() 
    {
        return ucard;
    }

    public void setUmobile(String umobile) 
    {
        this.umobile = umobile;
    }

    public String getUmobile() 
    {
        return umobile;
    }

    public void setUbirthday(String ubirthday) 
    {
        this.ubirthday = ubirthday;
    }

    public String getUbirthday() 
    {
        return ubirthday;
    }

    public void setSsid(String ssid) 
    {
        this.ssid = ssid;
    }

    public String getSsid() 
    {
        return ssid;
    }

    public void setMaritalstatus(String maritalstatus)
    {
        this.maritalstatus = maritalstatus;
    }

    public String getMaritalstatus()
    {
        return maritalstatus;
    }

    public void setAddresscity(String addresscity)
    {
        this.addresscity = addresscity;
    }

    public String getAddresscity()
    {
        return addresscity;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setAppointmenttype(String appointmenttype) 
    {
        this.appointmenttype = appointmenttype;
    }

    public String getAppointmenttype() 
    {
        return appointmenttype;
    }

    public void setAppointmentitems(String appointmentitems) 
    {
        this.appointmentitems = appointmentitems;
    }

    public String getAppointmentitems() 
    {
        return appointmentitems;
    }

    public void setAppointmenttime(Date appointmenttime) 
    {
        this.appointmenttime = appointmenttime;
    }

    public Date getAppointmenttime() 
    {
        return appointmenttime;
    }

    public void setSendsms(Long sendsms) 
    {
        this.sendsms = sendsms;
    }

    public Long getSendsms() 
    {
        return sendsms;
    }

    public void setUstatus(Long ustatus) 
    {
        this.ustatus = ustatus;
    }

    public Long getUstatus() 
    {
        return ustatus;
    }

    public void setPstatus(Long pstatus) 
    {
        this.pstatus = pstatus;
    }

    public Long getPstatus() 
    {
        return pstatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uid", getUid())
            .append("uname", getUname())
            .append("usex", getUsex())
            .append("ucard", getUcard())
            .append("umobile", getUmobile())
            .append("ubirthday", getUbirthday())
            .append("ssid", getSsid())
            .append("maritalstatus", getMaritalstatus())
            .append("addresscity", getAddresscity())
            .append("address", getAddress())
            .append("appointmenttype", getAppointmenttype())
            .append("appointmentitems", getAppointmentitems())
            .append("appointmenttime", getAppointmenttime())
            .append("sendsms", getSendsms())
            .append("ustatus", getUstatus())
            .append("pstatus", getPstatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
